﻿using System;
using System.Windows.Forms;

namespace Kalficom
{
    public class WaitCursor : IDisposable
    {
        Cursor m_cursorOld;

        public WaitCursor()
        {
            m_cursorOld = Cursor.Current;
            Cursor.Current = Cursors.WaitCursor;
        }
        public void Dispose()
        {
            Cursor.Current = m_cursorOld;
        }
    }

}
